package com.djbx.points.coupon.service;

import com.djbx.points.common.core.utils.ServiceResponse;
import com.djbx.points.coupon.api.dto.CouponInDTO;
import com.djbx.points.coupon.api.dto.CouponOutDTO;

import java.util.List;

/**
 * 优惠券服务
 *
 * @author aliuql
 * @email 17701057157@qq.com
 * @date 2021-11-16 09:26:07
 */
public interface CouponService {
    ServiceResponse<Void> save(CouponInDTO inDTO);
    ServiceResponse<Void> update(CouponInDTO inDTO);
    ServiceResponse<Void> deleteBatch(List<Long> ids);
    ServiceResponse<CouponOutDTO> getDetail(Long id);
    ServiceResponse<CouponOutDTO> getList(CouponInDTO inDTO);
    ServiceResponse<CouponOutDTO> getPage(CouponInDTO inDTO);
}
